import Layout from '@/layout'

export default [
    {
        path: '/student/message',
        component: Layout,
        meta: {
            title: '查询任务与通知',
            breadcrumb: false,
            icon: 'receive-message'
        },
        children: [
            {
                path: '',
                name: 'message',
                component: () => import(/* webpackChunkName: 'school' */ '@/views/student/message'),
                meta: {
                    title: '查询任务与通知',
                    sidebar: false,
                    activeMenu: '/student/message'
                }
            }
        ]
    },
    {
        path: '/student/message_details',
        component: Layout,
        meta: {
            sidebar: false
        },
        children: [
            {
                path: '',
                name: 'message.details',
                component: () => import(/* webpackChunkName: 'school' */ '@/views/student/message.details'),
                meta: {
                    sidebar: false,
                    activeMenu: '/school/message_details'
                }
            }
        ]
    },
    {
        path: '/student/task_results',
        component: Layout,
        meta: {
            title: '上传任务结果',
            sidebar: false,
            breadcrumb: false
        },
        children: [
            {
                path: '',
                name: 'task.results',
                component: () => import(/* webpackChunkName: 'school' */ '@/views/student/task.results'),
                meta: {
                    title: '上传任务结果',
                    sidebar: false,
                    activeMenu: '/student/task_results'
                }
            }
        ]
    },
    {
        path: '/student/cultivation_plan',
        component: Layout,
        meta: {
            title: '查询培育计划',
            breadcrumb: false,
            icon: 'cultivation-plan'
        },
        children: [
            {
                path: '',
                name: 'cultivation.plan',
                component: () => import(/* webpackChunkName: 'school' */ '@/views/student/cultivation.plan'),
                meta: {
                    title: '查询培育计划',
                    sidebar: false,
                    activeMenu: '/student/cultivation_plan'
                }
            }
        ]
    },
    {
        path: '/student/class_information',
        component: Layout,
        meta: {
            title: '查询班级信息',
            breadcrumb: false,
            icon: 'class-info'
        },
        children: [
            {
                path: '',
                name: 'class.information',
                component: () => import(/* webpackChunkName: 'school' */ '@/views/student/class.information'),
                meta: {
                    title: '查询班级信息',
                    sidebar: false,
                    activeMenu: '/student/class_information'
                }
            }
        ]
    }
]
